package org.yn.subject.infra.basic.entity;

import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.io.Serializable;
import java.util.Date;

/**
 * 题目信息表(SubjectInfo)表实体类
 *
 * @author makejava
 * @since 2024-03-14 20:17:22
 */
@SuppressWarnings("serial")
public class SubjectInfo extends Model<SubjectInfo> {

  //主键
  private Long id;
  //题目名称
  private String subjectName;
  //题目难度
  private Integer subjectDifficult;
  //出题人名
  private String settleName;
  //题目类型 1单选 2多选 3判断 4简答
  private Integer subjectType;
  //题目分数
  private Integer subjectScore;
  //题目解析
  private String subjectParse;
  //创建人
  private String createdBy;
  //创建时间
  private Date createdTime;
  //修改人
  private String updateBy;
  //修改时间
  private Date updateTime;

  private Integer isDeleted;


  public Long getId() {
    return id;
  }

  public void setId(Long id) {
    this.id = id;
  }

  public String getSubjectName() {
    return subjectName;
  }

  public void setSubjectName(String subjectName) {
    this.subjectName = subjectName;
  }

  public Integer getSubjectDifficult() {
    return subjectDifficult;
  }

  public void setSubjectDifficult(Integer subjectDifficult) {
    this.subjectDifficult = subjectDifficult;
  }

  public String getSettleName() {
    return settleName;
  }

  public void setSettleName(String settleName) {
    this.settleName = settleName;
  }

  public Integer getSubjectType() {
    return subjectType;
  }

  public void setSubjectType(Integer subjectType) {
    this.subjectType = subjectType;
  }

  public Integer getSubjectScore() {
    return subjectScore;
  }

  public void setSubjectScore(Integer subjectScore) {
    this.subjectScore = subjectScore;
  }

  public String getSubjectParse() {
    return subjectParse;
  }

  public void setSubjectParse(String subjectParse) {
    this.subjectParse = subjectParse;
  }

  public String getCreatedBy() {
    return createdBy;
  }

  public void setCreatedBy(String createdBy) {
    this.createdBy = createdBy;
  }

  public Date getCreatedTime() {
    return createdTime;
  }

  public void setCreatedTime(Date createdTime) {
    this.createdTime = createdTime;
  }

  public String getUpdateBy() {
    return updateBy;
  }

  public void setUpdateBy(String updateBy) {
    this.updateBy = updateBy;
  }

  public Date getUpdateTime() {
    return updateTime;
  }

  public void setUpdateTime(Date updateTime) {
    this.updateTime = updateTime;
  }

  public Integer getIsDeleted() {
    return isDeleted;
  }

  public void setIsDeleted(Integer isDeleted) {
    this.isDeleted = isDeleted;
  }

  /**
   * 获取主键值
   *
   * @return 主键值
   */
  @Override
  protected Serializable pkVal() {
    return this.id;
  }
}

